package com.example.demo.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author :蕉绿
 * @Date : 2023/2/17 14:05
 * @Version : V1.0
 * @Description :
 */
@RestController
@Slf4j
public class LogService {
    @RequestMapping("/logs")
    public String getLogs() {
        log.warn("service: 警告日志!");
        return "log";
    }
}
